<%@ page language="java" pageEncoding="UTF-8"%>
<script type="text/javascript">
	$(function() {
		$('#admin_userAdd_roleCombobox').combobox({
			valueField : 'cvalue',
			textField : 'cname',
			editable:false,
			onSelect : function(rec) {
				$('#admin_userAdd_addUserForm input[name=roleCode]').val(rec.cvalue);
			}
		});
	});
</script>
<form id="admin_userAdd_addUserForm" method="post">
	<table>
		<tr>
			<td style="text-align: right;">姓名：</td>
			<td><input name="realName" /></td>
			<td style="text-align: right;">登录名：</td>
			<td><input name="userName" /></td>
		</tr>
		<tr>
			<td style="text-align: right;">密码：</td>
			<td><input name="password" type="password"/></td>
			<td style="text-align: right;">角色：</td>
			<td><input id="admin_userAdd_roleCombobox" class="easyui-combobox"  name="roleId"/></td>
		</tr>
		<tr>
			<td style="text-align: right;">状态：</td>
			<td><input type="radio" name="lockFlag" value="0" checked="checked" />&nbsp;&nbsp;启用 <input type="radio" name="lockFlag" value="0" />&nbsp;&nbsp;锁定</td>
			<td style="text-align: right;"></td>
			<td>
			</td>
		</tr>
		<tr>
			<td style="text-align: right;">性别：</td>
			<td><input type="radio" name="gender" value="1" checked="checked" />&nbsp;&nbsp;男 <input type="radio" name="gender" value="2" />&nbsp;&nbsp;女</td>
			<td style="text-align: right;">手机：</td>
			<td><input name="mobile" />
			</td>
		</tr>
		<tr>
			<td style="text-align: right;">固话：</td>
			<td><input name="phone" />
			</td>
			<td style="text-align: right;">Email：</td>
			<td><input name="email" />
			</td>
		</tr>
	</table>
	<input name="roleCode" type="hidden" />
</form>